package Offer.q05_replaceSpace;

public class Solution_2 {
    public static void main(String[] args) {
        System.out.println(new Solution_2().replaceSpace("we are new"));

    }

    public String replaceSpace(String s) {
        return s.replace(" ", "%20");
    }
}
